package com.younion.vo;

import com.younion.common.base.BaseVO;

import java.util.Date;


/**
 * 
 * 优惠券实体
 *
 * @property label="优惠券实体" lower="favourableEntity" upper="FAVOURABLEEntity" instance="favourableEntity" table="t_Favourable_Entity"
 *
 * Copyright (c) 2009 Excellence Network Co.,LTD All right reserved.
 *
 */
public class FavourableEntityVO extends BaseVO implements Cloneable{

	/**  */
	private static final long serialVersionUID = -1L;

	/**
	 * 主键id
	 * @code id
	 * @type NUMERIC
	 * @javaType Integer
	 * @pk instance="Id"
	 * @required true
	 * @index 1
	 * @oddeven 0
	 */
	private Integer id;
	
	/**
	 * 编码
	 * 
	 * 
	 */
	private String code;
	
	/**
	 * 名称
	 */
	private String name;

	/**
	 * 价值
	 * @code value
	 * @type MONEY
	 * @javaType String
	 * @show 
	 * @index 3
	 * @oddeven 2
	 * @isAfterTwo 2
	 * @faint 
	 */
	private String value;

	/**
	 * 简单描述
	 * @code simple_description
	 * @type VARCHAR
	 * @javaType String
	 * @show 
	 * @length 250
	 * @index 4
	 * @oddeven 1
	 * @isAfterTwo 1
	 * @faint 
	 */
	private String simpleDescription;

	/**
	 * 详细描述
	 * @code detail
	 * @type TEXT
	 * @javaType String
	 * @show 
	 * @index 5
	 * @oddeven 2
	 * @isAfterTwo 2
	 * @typeHandle org.springframework.orm.ibatis.support.ClobStringTypeHandler
	 * @faint 
	 */
	private String detail;

	/**
	 * 未激活图片
	 * 
	 * @label 未激活图片
	 * @code nonactivated_pic
	 * @type VARCHAR
	 * @javaType String
	 * @show
	 * @length 40
	 * @index 13
	 * @oddeven 2
	 * @isAfterTwo 2
	 * @faint
	 */
	private String nonactivatedPic;

	/**
	 * 已激活图片
	 * 
	 * @label 已激活图片
	 * @code activated_pic
	 * @type VARCHAR
	 * @javaType String
	 * @show
	 * @isLast
	 * @length 40
	 * @index 14
	 * @oddeven 1
	 * @isAfterTwo 1
	 * @faint
	 */
	private String activatedPic;

	/**
	 * 可使用有效期开始
	 * @code beg_date
	 * @type TIMESTAMP
	 * @javaType java.util.Date
	 * @show 
	 * @index 7
	 * @oddeven 2
	 * @isAfterTwo 2
	 */
	private Date useBegDate;

	/**
	 * 可使用有效期结束
	 * @code end_date
	 * @type TIMESTAMP
	 * @javaType java.util.Date
	 * @show 
	 * @index 8
	 * @oddeven 1
	 * @isAfterTwo 1
	 */
	private Date useEndDate;

	/**
	 * 
	 * 可申请有效期开始
	 */
	private Date applyBegDate;
	/**
	 * 可申请有效期结束
	 */
	private Date applyEndDate;
	/**
	 * 是否到期提醒
	 * @code isRemind
	 * @type TINYINT
	 * @javaType Integer
	 * @show 
	 * @index 9
	 * @oddeven 2
	 * @isAfterTwo 2
	 */
	private Integer isRemind;

	/**
	 * 提醒方式
	 * @code remind_manner
	 * @type TINYINT
	 * @javaType Integer
	 * @show 
	 * @index 10
	 * @oddeven 1
	 * @isAfterTwo 1
	 */
	private Integer remindManner;

	/**
	 * 提醒内容
	 * @code remind_content
	 * @type VARCHAR
	 * @javaType String
	 * @show 
	 * @length 150
	 * @index 11
	 * @oddeven 2
	 * @isAfterTwo 2
	 * @faint 
	 */
	private String remindContent;

	/**
	 * 是否手机验证
	 * @code isAuthenByMoblie
	 * @type TINYINT
	 * @javaType Integer
	 * @show 
	 * @index 12
	 * @oddeven 1
	 * @isAfterTwo 1
	 * 1:是，0:否
	 */
	private Integer isAuthenByMoblie;

	/**
	 * 优惠券类型
	 * @code favourable_type_id
	 * @type NUMERIC
	 * @javaType Integer
	 * @show 
	 * @index 13
	 * @oddeven 2
	 * @isAfterTwo 2
	 */
	private Integer favourableTypeId;

	/**
	 * 店面id
	 * @code shopCode
	 * @type NUMERIC
	 * @javaType Integer
	 * @show 
	 * @index 14
	 * @oddeven 1
	 * @isAfterTwo 1
	 */
	private String shopCode;

	/**
	 * 商户id
	 * @code customerId
	 * @type NUMERIC
	 * @javaType Integer
	 * @show 
	 * @isLast 
	 * @index 15
	 * @oddeven 2
	 * @isAfterTwo 2
	 */
	private Integer customerId;
	/**
	 * 可用时段开始
	 */
	private String validTimeFrom;
	/**
	 * 可用时段结束
	 */
	private String validTimeTo;
	/**
	 * Ԥ预发数量
	 */
	private Integer amount;
	/**
	 *发送渠道 0:'全部',1:'商家发送',2:'自主申请'
	 */
	private Integer releaseChannel;
	/**
	 * 优惠券种类
	 * 1:'专用型',0:'普惠制'
	 */
	private Integer classification;
	/**
	 * 到期多少天提醒
	 */
	private Integer remindTime;
	
	private String shopNames;
	
	private String customerName;
	
	private Integer favourAmount;
	/**
	 * 是否热门
	 */
	private Integer isHot;
	/**
	 * 是否推荐
	 */
	private Integer isRecommend;
	
	private Date gtuseBegDate;
	private Date ltuseBegDate;
	private Date gtuseEndDate;
	private Date ltuseEndDate;
	
	private Integer gtamount;
	private Integer ltamount;
	
	/**
	 * 是否最新
	 */
	private Integer isNew;
	
	public Integer getFavourAmount() {
		return favourAmount;
	}

	public void setFavourAmount(Integer favourAmount) {
		this.favourAmount = favourAmount;
	}

	public FavourableEntityVO() {
	}

	/** 
	 * @return the id
	 */ 
	public Integer getId() {
		return id;
	}

	/** 
	 * @param id the id to set 
	 */ 
	public void setId(Integer id) {
		this.id = id;
	}

	/** 
	 * @return the name
	 */ 
	public String getName() {
		return name;
	}

	/** 
	 * @param name the name to set 
	 */ 
	public void setName(String name) {
		this.name = name;
	}

	/** 
	 * @return the value
	 */ 
	public String getValue() {
		return value;
	}

	/** 
	 * @param value the value to set 
	 */ 
	public void setValue(String value) {
		this.value = value;
	}

	/** 
	 * @return the simpleDescription
	 */ 
	public String getSimpleDescription() {
		return simpleDescription;
	}

	/** 
	 * @param simpleDescription the simpleDescription to set 
	 */ 
	public void setSimpleDescription(String simpleDescription) {
		this.simpleDescription = simpleDescription;
	}

	/** 
	 * @return the detail
	 */ 
	public String getDetail() {
		return detail==null?"":detail;
	}

	/** 
	 * @param detail the detail to set 
	 */ 
	public void setDetail(String detail) {
		this.detail = detail;
	}


	public String getNonactivatedPic() {
		return nonactivatedPic;
	}

	public void setNonactivatedPic(String nonactivatedPic) {
		this.nonactivatedPic = nonactivatedPic;
	}

	public String getActivatedPic() {
		return activatedPic;
	}

	public void setActivatedPic(String activatedPic) {
		this.activatedPic = activatedPic;
	}


	public Date getUseBegDate() {
		return useBegDate;
	}

	public void setUseBegDate(Date useBegDate) {
		this.useBegDate = useBegDate;
	}

	public Date getUseEndDate() {
		return useEndDate;
	}

	public void setUseEndDate(Date useEndDate) {
		this.useEndDate = useEndDate;
	}

	public Date getApplyBegDate() {
		return applyBegDate;
	}

	public void setApplyBegDate(Date applyBegDate) {
		this.applyBegDate = applyBegDate;
	}

	public Date getApplyEndDate() {
		return applyEndDate;
	}

	public void setApplyEndDate(Date applyEndDate) {
		this.applyEndDate = applyEndDate;
	}

	/** 
	 * @return the isRemind
	 */ 
	public Integer getIsRemind() {
		return isRemind;
	}

	/** 
	 * @param isRemind the isRemind to set 
	 */ 
	public void setIsRemind(Integer isRemind) {
		this.isRemind = isRemind;
	}

	/** 
	 * @return the remindManner
	 */ 
	public Integer getRemindManner() {
		return remindManner;
	}

	/** 
	 * @param remindManner the remindManner to set 
	 */ 
	public void setRemindManner(Integer remindManner) {
		this.remindManner = remindManner;
	}

	/** 
	 * @return the remindContent
	 */ 
	public String getRemindContent() {
		return remindContent;
	}

	/** 
	 * @param remindContent the remindContent to set 
	 */ 
	public void setRemindContent(String remindContent) {
		this.remindContent = remindContent;
	}

	/** 
	 * @return the isAuthenByMoblie
	 */ 
	public Integer getIsAuthenByMoblie() {
		return isAuthenByMoblie;
	}

	/** 
	 * @param isAuthenByMoblie the isAuthenByMoblie to set 
	 */ 
	public void setIsAuthenByMoblie(Integer isAuthenByMoblie) {
		this.isAuthenByMoblie = isAuthenByMoblie;
	}

	/** 
	 * @return the favourableTypeId
	 */ 
	public Integer getFavourableTypeId () {
		return favourableTypeId ;
	}

	/** 
	 * @param favourableTypeId the favourableTypeId to set 
	 */ 
	public void setFavourableTypeId (Integer favourableTypeId ) {
		this.favourableTypeId  = favourableTypeId ;
	}

	/** 
	 * @return the shopCode
	 */ 
	public String getShopCode() {
		return shopCode;
	}

	/** 
	 * @param shopCode the shopCode to set 
	 */ 
	public void setShopCode(String shopCode) {
		this.shopCode = shopCode;
	}

	/** 
	 * @return the customerId
	 */ 
	public Integer getCustomerId() {
		return customerId;
	}

	/** 
	 * @param customerId the customerId to set 
	 */ 
	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}

	public String getValidTimeFrom() {
		return validTimeFrom;
	}

	public void setValidTimeFrom(String validTimeFrom) {
		this.validTimeFrom = validTimeFrom;
	}

	public String getValidTimeTo() {
		return validTimeTo;
	}

	public void setValidTimeTo(String validTimeTo) {
		this.validTimeTo = validTimeTo;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public Integer getReleaseChannel() {
		return releaseChannel;
	}

	public void setReleaseChannel(Integer releaseChannel) {
		this.releaseChannel = releaseChannel;
	}

	public Integer getClassification() {
		return classification;
	}

	public void setClassification(Integer classification) {
		this.classification = classification;
	}

	public Integer getRemindTime() {
		return remindTime;
	}

	public void setRemindTime(Integer remindTime) {
		this.remindTime = remindTime;
	}

	public String getShopNames() {
		return shopNames;
	}

	public void setShopNames(String shopNames) {
		this.shopNames = shopNames;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public Integer getIsHot() {
		return isHot;
	}

	public void setIsHot(Integer isHot) {
		this.isHot = isHot;
	}

	public Integer getIsRecommend() {
		return isRecommend;
	}

	public void setIsRecommend(Integer isRecommend) {
		this.isRecommend = isRecommend;
	}

	public Integer getIsNew() {
		return isNew;
	}

	public void setIsNew(Integer isNew) {
		this.isNew = isNew;
	}

	public Date getGtuseBegDate() {
		return gtuseBegDate;
	}

	public void setGtuseBegDate(Date gtuseBegDate) {
		this.gtuseBegDate = gtuseBegDate;
	}

	public Date getLtuseBegDate() {
		return ltuseBegDate;
	}

	public void setLtuseBegDate(Date ltuseBegDate) {
		this.ltuseBegDate = ltuseBegDate;
	}

	public Date getGtuseEndDate() {
		return gtuseEndDate;
	}

	public void setGtuseEndDate(Date gtuseEndDate) {
		this.gtuseEndDate = gtuseEndDate;
	}

	public Date getLtuseEndDate() {
		return ltuseEndDate;
	}

	public void setLtuseEndDate(Date ltuseEndDate) {
		this.ltuseEndDate = ltuseEndDate;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Integer getGtamount() {
		return gtamount;
	}

	public void setGtamount(Integer gtamount) {
		this.gtamount = gtamount;
	}

	public Integer getLtamount() {
		return ltamount;
	}

	public void setLtamount(Integer ltamount) {
		this.ltamount = ltamount;
	}
	
	

}
